package cn.zyjblogs.starter.common.exception;

import cn.zyjblogs.starter.common.entity.response.HttpCode;
import cn.zyjblogs.starter.common.utils.string.StringUtils;

/**
 * 权限异常处理类
 *
 * @author zhuyijun
 */
public class AssartRuntimeException extends AbstractBusinessException {
    public AssartRuntimeException() {
        super();
    }

    public AssartRuntimeException(String message) {
        super(message);
    }

    public AssartRuntimeException(String message, Object... params) {
        super(StringUtils.format(message, params));
    }

    public AssartRuntimeException(HttpCode responseCode, String message) {
        super(responseCode, message);
    }

    public AssartRuntimeException(HttpCode responseCode, String message, Object... params) {
        super(responseCode, StringUtils.format(message, params));
    }
}
